package cn.buk.api.szkj.dto.eterm;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * DETR结果中的航班那信息
 */
public class DetrFlightInfo {

  @JsonProperty(value = "AirSerialNumber")
  private int segOrd;

  /**
   * 承运航司
   */
  @JsonProperty(value = "AirCode")
  private String carrier;

  /**
   * 航班号：不含航司代码
   */
  @JsonProperty(value = "AirFlightNo")
  private String flightNo;

  @JsonProperty(value = "AirFromCode")
  private String dport;

  @JsonProperty(value = "AirToCode")
  private String aport;

  @JsonProperty(value = "AirTime")
  private String dtime;

//  @JsonProperty(value = "AirToCode")
  private String atime;

  @JsonProperty(value = "AirFromTerminal")
  private String dterm;

  @JsonProperty(value = "AirToTerminal")
  private String aterm;

  @JsonProperty(value = "Pnr")
  private String pnr;

  @JsonProperty(value = "AirTicketStatus")
  private String ticketStatus;


  @JsonProperty(value = "AirSeat")
  private String subclass;

  /**
   * 航班日期：ETERM中的日期格式 12JUN
   */
  @JsonProperty(value = "AirDate")
  private String ddate;

  @JsonProperty(value = "AirReservationStatus")
  private String segStatus;

  /**
   * 免费行李额，K:公斤，PC:计件，NIL:无免费行李
   */
  @JsonProperty(value = "AirLuggage")
  private String luggage;

  /**
   * //转机标识(O:大于24小时  X:小于24小时)
   */
  @JsonProperty(value = "AirTransitMark")
  private String transit;


//                  "StatusOkAfter": "R-YHQ",    //票价基础
//                  "AirDateValidityPeriodS": "12DEC8",    //有效期 在…之前无效
//                  "AirDateValidityPeriodE": "12DEC8",    //有效期 在…之后无效
//                  "AirLineRecords": "NVG21Y",    //航空公司记录
//                  "AirAgentRecord": "NVG21YCA",    //代理人记录

  public String getFlightNo() {
    return flightNo;
  }

  public void setFlightNo(String flightNo) {
    this.flightNo = flightNo;
  }

  public String getCarrier() {
    return carrier;
  }

  public void setCarrier(String carrier) {
    this.carrier = carrier;
  }

  public String getSubclass() {
    return subclass;
  }

  public void setSubclass(String subclass) {
    this.subclass = subclass;
  }

  public String getDport() {
    return dport;
  }

  public void setDport(String dport) {
    this.dport = dport;
  }

  public String getAport() {
    return aport;
  }

  public void setAport(String aport) {
    this.aport = aport;
  }


  public String getDdate() {
    return ddate;
  }

  public void setDdate(String ddate) {
    this.ddate = ddate;
  }

  public String getSegStatus() {
    return segStatus;
  }

  public void setSegStatus(String segStatus) {
    this.segStatus = segStatus;
  }

  public String getDtime() {
    return dtime;
  }

  public void setDtime(String dtime) {
    this.dtime = dtime;
  }

  public String getAtime() {
    return atime;
  }

  public void setAtime(String atime) {
    this.atime = atime;
  }

  public String getDterm() {
    return dterm;
  }

  public void setDterm(String dterm) {
    this.dterm = dterm;
  }

  public String getAterm() {
    return aterm;
  }

  public void setAterm(String aterm) {
    this.aterm = aterm;
  }

  public int getSegOrd() {
    return segOrd;
  }

  public void setSegOrd(int segOrd) {
    this.segOrd = segOrd;
  }

  public String getPnr() {
    return pnr;
  }

  public void setPnr(String pnr) {
    this.pnr = pnr;
  }

  public String getTicketStatus() {
    return ticketStatus;
  }

  public void setTicketStatus(String ticketStatus) {
    this.ticketStatus = ticketStatus;
  }

  public String getLuggage() {
    return luggage;
  }

  public void setLuggage(String luggage) {
    this.luggage = luggage;
  }

  public String getTransit() {
    return transit;
  }

  public void setTransit(String transit) {
    this.transit = transit;
  }
}
